
Import mojo

' The overall Game object, handling loading, mouse position, high-level game control and rendering...

Class RocketGame Extends App

Field timer:Int = 100
	  ' Stuff to do on startup...

	  Method OnCreate ()

			 ' 60 frames per second, please!

	  		 SetUpdateRate 60

	  End

	  ' Stuff to do while running...

	  Method OnUpdate ()

	  timer -=1
	  End

	  ' Drawing code...

	  Method OnRender ()

	  		 Cls 32, 64, 128						' Clear screen
DrawText timer,0,0


	  End

End



' Here we go!

Function Main ()
	New RocketGame								' RocketGame extends App, so monkey will handle running from here...
End